package com.hqq.integration.tolerant_reader;

import java.io.Serializable;

/**
 * RainbowFish
 * Created by heqianqian on 2017/8/18.
 */
public class RainbowFish implements Serializable {

    private static final long serialVersionUID = 1L;

    private String name;
    private int age;
    private int lengthMeters;
    private int weightTons;

    /**
     * Constructor
     */
    public RainbowFish(String name, int age, int lengthMeters, int weightTons) {
        this.name = name;
        this.age = age;
        this.lengthMeters = lengthMeters;
        this.weightTons = weightTons;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public int getLengthMeters() {
        return lengthMeters;
    }

    public int getWeightTons() {
        return weightTons;
    }
}
